import Vue from 'vue'
import Router from 'vue-router'
import TabBar from '../components/tabbar/TabBar.vue'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path:'/',
      redirect:'/home',
      name:'',
    },
    {
      path:'/home',
      component: TabBar,
    }
  ],
  mode:'history'
})
